package chwgigs;

public class J25_Animal {

      private int hp;
      private int weight;
      private String color;
      

     public J25_Animal(){}
     public J25_Animal( int hp, int we){}


	public int getHp() {
		return hp;
    }public void setHp(int hp) {
    	this.hp = hp;}
    
    public int getWeight() {
		return weight;
	}public void setWeight(int weight) {
		this.weight = weight;}

    public String getColor() {
		return color;
	}

    public void setColor(String color) {
		this.color = color;
	}
    
    public void eat(){
		System.out.println("동물은 먹어야 한다");
	}
	public void cry(){}
	
	
      
      
      
	}//


